<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>子元素选择器</title>
<style type="text/css">
section > div {
	color: #f00;
}
</style>
</head>
<body>
<section>
	<article>
		<div>article里面的文字</div>
	</article>
	<div>article外面的文字</div>
</section>
</body>
</html>